package com.zyh.demo;

import com.zyh.domain.Cat;

/*
 构造方法
 */
public class OOPDemo2 {
    public static void main(String[] args) {
        Cat cat = new Cat("tom");
        System.out.println(cat.name+cat.address+cat.height);
    }
}
